<?php
namespace app\index\controller;
use think\Loader;
class Index extends Base{

    //前端首页
    public function index(){
        $invoking              = Loader::model('Other','service');
        /*$data        = $invoking->counselorList();*/
        $data_list   = $invoking->indexData();
     /*   $this->assign('counselor_list',$data['list']);*/
  /*      $this->assign('column_list',$data['column']);*/

        $this->assign('lawyer_list',$data_list['lawyer_list']);
  /*      $this->assign('news_list',$data_list['news_list']);*/
        $this->assign('index_css',1);
        return   $this->fetch();
    }

    //404
    public function er404(){
        return   $this->fetch();
    }

}
